Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

@oleksandr-nc oleksandr-nc commented Dec 26, 2025

This PR adds support for the new @nextcloud/files library version, which has breaking changes for AppAPI.

Additionally, this PR includes a fix for this issue: #630. We now use async loading for the icon and always register FileAction even if we fail to load the custom icon.

We will see if we can port this fix to older versions(NC32/NC31).

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
…ation

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The migration to nextcloud/files v4 is fine 👍
  • Offtopic for later or another PR: The view param is not used to decide in which view the action is displayed. Maybe it makes sense to either
    • Support a viewFilter param in the exApp actions which is used as a black/white list in the real action's enabled function
    • Or only enable the action in the files view (to always prevent displaying it in the trashbin view and the public view)

@oleksandr-nc oleksandr-nc merged commit 2e7c8f1 into main Dec 29, 2025
33 of 35 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/NC33-FilesAction branch December 29, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants